CUW\App\Models\Stats D

Total Complexity 126
Dependencies 11
Dependents 10
Total lines 665
Lines of code 431
Logical lines of code 233
Comment lines 171
Methods 21
Properties 2

Methods 21

Method Rating Maintainability Complexity Lines of code
getUpsellInfo()
B
33 17 104
save()
B
39 20 55
prepareChartData()
A
43 11 41
getOfferUsageCountBasedOnCurrentUser()
A
49 11 30
getCampaignUsageCountBasedOnCurrentUser()
A
49 11 30
getDateByRange()
A
51 11 24
prepareReportWhereQuery()
A
53 8 20
getChartData()
S
56 6 16
getDiffPercentage()
S
62 7 10
getTopRevenueCampaign()
S
54 5 20
getRecordsDateIntervalInSeconds()
S
65 4 9
getRevenue()
S
62 3 9
create()
S
59 1 25
getOffersCreatedCount()
S
67 2 7
getCampaignsCreatedCount()
S
67 2 7
getEachCampaignTypeRevenue()
S
67 2 6
runPatch()
S
77 1 4
getItemsCount()
S
73 1 4
getOrdersCount()
S
73 1 4
getSavedItemIds()
S
77 1 3
getAvailableCurrencies()
S
78 1 3